package com.molichuxing.services.infrastructure.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.molichuxing.framework.dao.RootMapper;
import com.molichuxing.services.infrastructure.bean.InsuranceCompanyBean;

/**
 * <p>
 * 保险公司 Mapper 接口
 * </p>
 *
 * @author
 * @since 2019-08-12
 */
public interface InsuranceCompanyMapper extends RootMapper<InsuranceCompanyBean> {

	@Override
	InsuranceCompanyBean getById(Integer id);

	List<InsuranceCompanyBean> getInsuranceList();

	InsuranceCompanyBean getInsuranceByName(@Param("name") String name);

	/**
	 * 查询保险公司名称
	 * 
	 * @param ids
	 * @return
	 */
	List<InsuranceCompanyBean> getInsuranceCompanyName(@Param("ids") List<Integer> ids);
}
